package com.walter.epay.param.response;

import java.io.Serializable;

/**
 * 回调参数
 *
 * @author wuchenxi
 * @date 2022-12-31 13:50:57
 */
public class EpayCallbackParam implements Serializable {
    /**
     * 商户id
     */
    private String mchId;

    /**
     * 云端订单号
     */
    private String orderId;

    /**
     * 微信支付传入1 支付宝支付传入2
     */
    private Integer type;

    /**
     * 订单金额
     */
    private Double price;

    /**
     * 实际支付金额
     */
    private Double reallyPrice;

    /**
     * 【必传】签名，计算方式为 md5(payId+param+type+price+通讯密钥)
     */
    private String sign;

    /**
     * 创建订单的时候传入的参数
     */
    private String param;

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public Integer getType() {
        return type;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getReallyPrice() {
        return reallyPrice;
    }

    public void setReallyPrice(Double reallyPrice) {
        this.reallyPrice = reallyPrice;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }
}
